module.exports = {
	// 设置上下文路径
	publicPath: process.env.NODE_ENV === 'production' ? 'manager-mobile' : '',
	devServer: {
		port: '8083',
		compress: true,	// 配置热更新
		open: true,
		proxy: {
			"/nuaa-scs/": {
				target: "http://localhost:8081/",
				changeOrigin: true,
				pathRewrite: {
					'^/nuaa-scs/': ''
				}
			},
		}
	}
}
